Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unnamed packages #4532

Merged
merged 99 commits into from
Apr 24, 2024
Merged

Unnamed packages #4532

merged 99 commits into from
Apr 24, 2024

Conversation

ayys
Copy link
Member

@ayys ayys commented Apr 1, 2024

this adds support for unnamed packages, which are packages that don't have a
name.

This is useful for packages that are not meant to be used by other
people/packages but are used to deploy apps.

this makes a bunch of potentially breaking changes, needs thorough review and testing.
@ayys ayys requested a review from syrusakbary as a code owner April 1, 2024 07:39
@ayys ayys marked this pull request as draft April 1, 2024 07:40
@ayys ayys changed the title unnamed packages WIP: unnamed packages Apr 1, 2024
ayys added 2 commits April 2, 2024 23:21
if a package does not have name, it falls back to it's webc hash.

This does mean that you need a webc hash to actually generate the PackageId.
@ayys ayys force-pushed the unnamed-packages branch from cd8d178 to db767e1 Compare April 2, 2024 20:03
ayys and others added 23 commits April 3, 2024 01:49
because of the recent fs work done by @maminrayej on
wasmerio/piirta/crates/webc, we can now remove this hack.
we can just switch the paths when developing, but should revert to the patch git
branch style when pushing.

This will make it easier to coordinate on stuff.
* Change PackageId to support both named and unnamed package
* Update the package resolver logic with unnamed package support
* Update the "package download" command
Copy link
Member

@syrusakbary syrusakbary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maminrayej will fix the linting and request flags, and package tests
@xdoardo will fix the cli tests

@syrusakbary syrusakbary merged commit f275d6f into master Apr 24, 2024
61 checks passed
@syrusakbary syrusakbary deleted the unnamed-packages branch April 24, 2024 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants